/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package co.edu.unal.bioingenium.kbmed.experimentation;

import co.edu.unal.bioingenium.kbmed.features.io.FeaturesIO;
import co.edu.unal.bioingenium.kbmed.retrieval.data.CollectionData;
import co.edu.unal.bioingenium.kbmed.text.representation.io.CorpusIO;

/**
 *
 * @author alejandro
 */
public class SavePlainCollection {

    /**
     * 
     * @param args
     */
    public static void main(String[] args) {
        String collectionName = "instrumentos";
        CollectionData collectionData = new CollectionData(collectionName);
        CorpusIO.storePlainCorpus(collectionData.getWordCorpus(), collectionName + "Words");
        CorpusIO.storePlainCorpus(collectionData.getConceptCorpus(), collectionName + "Concepts");
        FeaturesIO.storePlainCollectionFeatures(collectionData.getWordCorpus(), collectionData.getWordsFeatures(), collectionName + "Words");
        FeaturesIO.storePlainCollectionFeatures(collectionData.getConceptCorpus(), collectionData.getConceptsFeatures(), collectionName + "Concepts");
    }
}
